package com.ynny.map01;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MaptTes04 {

    public static void main(String[] args) {

        //<Object,Object>
        //<Key,Value>
        //<String, String[] >
        //<String, ArrayList<String> >
        Map<String, List<String> > map = new HashMap<>();

        ArrayList<String> list = new ArrayList<>();
        list.add("双截棍");
        list.add("稻香");

        ArrayList<String> list2 = new ArrayList<>();
        list2.add("浮夸");
        list2.add("十年");

        System.out.println(map);
        map.put("周杰伦",list);

        map.put("陈奕迅",list2);

        System.out.println(map);

    }
}
